﻿Public Class frmOpcoes

#Region "Funções"

    Private Sub HabilitarTela(ByVal booHabilitar As Boolean)

        FuncoesPrincipais.HabilitarTela(booHabilitar, Me)

    End Sub

#End Region

#Region "Eventos"

    Private Sub frmOpcoes_FormClosing(sender As Object, e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing

        FuncoesPrincipais.HabilitarTela(True, frmPrincipal)

    End Sub

    Private Sub btnGerenciamento_Click(sender As System.Object, e As System.EventArgs) Handles btnGerenciamento.Click
        HabilitarTela(False)
        Gerencia_Mora.Show()
    End Sub

    Private Sub btnOpcoesSincronizacao_Click(sender As System.Object, e As System.EventArgs) Handles btnOpcoesSincronizacao.Click
        HabilitarTela(False)
        Sincro.Show()
    End Sub

#End Region

End Class